﻿using System.Collections.Generic;
using BO;
using Model;

namespace Controller
{
    /// <summary>
    /// Summary description for VYC23Controller
    /// </summary>
    public class VYC23Controller
    {
        private static VYC23BO _vyc23Bo;
        public VYC23Controller()
        {
            _vyc23Bo = new VYC23BO();
        }
        public List<ModelVYC23> GetAllList()
        {
            return _vyc23Bo.GetAllList();
        }
        public int AddData(ModelVYC23 model)
        {
            return _vyc23Bo.AddData(model);
        }
        public int EditData(ModelVYC23 model)
        {
            return _vyc23Bo.EditData(model);
        }
        public int DeleteData(ModelVYC23 model)
        {
            return _vyc23Bo.DeleteData(model);
        }
        public List<ModelVYC23> GetById(string id)
        {
            return _vyc23Bo.GetById(id);
        }
        public List<ModelVYC23> GetLimitVideoForModule(int trangthai)
        {
            return _vyc23Bo.GetLimitVideoForModule(trangthai);
        }
        public List<ModelVYC23> GetLimitVideoForTourDetail(int trangthai, int idsubloaitour)
        {
            return _vyc23Bo.GetLimitVideoForTourDetail(trangthai, idsubloaitour);
        }
    }
}